import { ICommonParams, IHeaders } from '@feidao-factory/nodejs/interfaces';
import { HTMLElement } from 'node-html-parser';
import s from './ns';

import init from '@feidao-factory/nodejs/component';

import tpl from './tpl';

/// FEIDAO IMPACTIONS BEGIN
import na001 from './na001';
/// FEIDAO IMPACTIONS END

export default function main(html: HTMLElement, url: string, msg: ICommonParams, headers: IHeaders, query: any) {

	/// FEIDAO ACTIONS BEGIN

	const actions = { na001 };

	/// FEIDAO ACTIONS END


	return init('zj-000001', tpl, s, actions, html, url, msg, headers, query);
}

